Skip to content

Fix recursive inline member ordering in optimizer - #20111

Draft
majocha wants to merge 24 commits into
dotnet:mainfrom
majocha:fix-20085
Draft

Fix recursive inline member ordering in optimizer#20111
majocha wants to merge 24 commits into
dotnet:mainfrom
majocha:fix-20085

Conversation

@majocha

@majocha majocha commented Aug 2, 2026

Copy link
Copy Markdown
Contributor

Recursive inline members were still optimized in declaration order, so a caller could try to inline a later sibling before that sibling had been published to the optimization environment. This orders recursive bindings by the dependencies the optimizer can observe, preserves source order in the emitted tree, and adds regression coverage for recursive inline-member dependencies and #1565.

Checklist

  • Test cases added

majocha and others added 8 commits August 1, 2026 13:12
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
majocha and others added 12 commits August 2, 2026 09:41
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

❗ Release notes required

You can open this PR in browser to add release notes: open in github.dev


✅ Found changes and release notes in following paths:

Change path Release notes path Description
`src/Compiler` docs/release-notes/.FSharp.Compiler.Service/11.0.100.md

majocha and others added 4 commits August 4, 2026 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: New

Development

Successfully merging this pull request may close these issues.

1 participant